home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl460
/
kryptgmj.lzh
/
KRYPMSG.DOC
< prev
next >
Wrap
Text File
|
1991-07-20
|
4KB
|
86 lines
KRYPMSG
Version 1.0
Copyright 1991
Castle Oaks Computer Services
Post Office Box 36082
Indianapolis, Indiana 46236
KRYPMSG is a program to encrypt and un-encrypt messages. The program uses
a fairly simple encrypting method that could be broken by a person who is
well versed in cryptography. However, the encrypting is sufficient for
many uses and will not be broken easily by an amateur.
This program is intended to be used by persons desiring to send messages in
a secure manner. The originator prepares his message, encrypts it, sends
it to the recipient who then decodes and reads it.
Only printable ASCII characters are encoded. Therefore, this program
cannot be used for encrypting files (such as database, spreadsheet, and
some word processing files) that contain 8-bit characters. All non-print-
able characters will be ignored. Furthermore, only printable ASCII charac-
ters are used in the coding. Therefore, a coded message may be transmitted
by any communications package that can send 7-bit characters.
The software provides several options. First, the user is asked for a
numeric key (in the range 1 to 32767). The person who encodes a message
and the person who decodes the message must use the same key value. In
order that sender and receiver know what number to use, they can use sever-
al strategies. In the most simplistic case, they can always use the same
number. They might use the current Julian date (or some variation of it),
or alternate through a predetermined list of numbers, etc.
The user must specify if the text is to be encoded or decoded.
The user may send his output to a file or to the printer, or to both. If
an output file is not specified, printer output will be assumed.
The user can specify whether input is to be from a file or from the key-
board. If you enter your text from the keyboard, you may make corrections
by backspacing and overtyping the incorrect text. This must be done before
pressing ENTER at the end of each line. When you press ENTER, the program
supplies the necessary line feed. When you are done entering text, enter a
control-Z by itself at the beginning of a line.
If you enter text from a file, and it is text that is to be encoded, you
must first put the text in the file using a text editor or a word processor
using the non-document mode so that the text is in ASCII. Most text edi-
tors and word processors will put an end-of-file mark (control-Z) at the
end of your text. KRYPMSG expects to find a control-Z at the end of the
file so that it knows when to terminate processing text. If your editor
does not put a control-Z at the end of the text, (Note: EDIT, supplied with
DOS 5.0 does not put in the control-Z) it may not be a problem. In most
cases, after your text is processed, the program will hang and you can
enter a control-Z manually to conclude processing. There are several ways
that you can get a control-Z in the file. If you are using EDIT, after the
last time to press ENTER, hold down the control key and press "P" and "Z".
Another method is to use the copy command.
COPY /A FILE1 FILE2
This command will copy FILE1 to FILE2 and place a control-Z at the end of
FILE2.
If you are sending your output to the printer, do not be surprised if the
printing occurs at what seems to be random intervals. The software buffers
the output and only prints when the buffer is filled or when you terminate
your entering.
You have the option of specifying some options from the command line. The
general form for the command line is:
KRYPMSG [<input file>] [<output file>]
the parameters shown in brackets are optional. Here is an example:
KRYPMSG C:\MEMOS\JULY991.MEM A:JULY991.MSG
This command would take the memorandum, JULY991.MEM, from the MEMOS direc-
tor of the C: drive and write the output message to the file, JULY991.MSG
on the A: drive. The program would prompt the user for the key number and
whether the input file is to be encoded or decoded and if printed output is
desired also. An encoded message can be sent in printed form or on a disk
by mail or other means; or the coded message can be sent using a communica-
tions package.